{% if error %}
    wrong login or password
{% endif %}

<form action="" method="POST"> {% csrf_token %}
	<input type="text" name="login" />
	<input type="password" name="password" />
	<input type="submit" value="login" />	
</form>